How can I tell if a JSON value is a number using Perl's JSON::XS? [closed]

Posted by Jay Gridley on Stack Overflow See other posts from Stack Overflow or by Jay Gridley
Published on 2010-03-12T18:01:52Z Indexed on 2010/03/28 19:13 UTC
Read the original article Hit count: 140

Filed under:
|

Possible Duplicate:
In Perl, how can I tell if a string is a number?

I am parsing a JSON string using JSON::XS module in Perl and I need to determine, if actual returned scalar is string or number, JSON::XS should return me that, but I cannot figure out how to ask? Any ideas?

© Stack Overflow or respective owner

Related posts about perl

Related posts about JSON